
   <li class="dropdown active">
     <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
        aria-expanded="false">项目{% if request.tracer.project %}({{ request.tracer.project.name }}){% endif %} <span class="caret"></span></a>
     <ul class="dropdown-menu">
     {% if my %}
     <li> <i class="fa fa-list" aria-hidden="true"></i>我创建的项目</li>
       {% for it in my %}
       <li><a href="{% url 'web_dashboard' project_id=it.id %}">{{ it.name }}</a></li>
       {% endfor %}
     {% endif %}
     {% if join %}
     <li> <i class="fa fa-handshake-o" aria-hidden="true"></i>我参与的项目</li>
     {% for it in join %}
     <li><a href="{% url 'web_dashboard' project_id=it.project.id %}"></a>{{ it.project.name }}</li>
          {% endfor %}
         {% endif %}
       <li role="separator" class="divider"></li>
       <li><a href="{% url 'web_project_list' %}">所有项目</a></li>
     </ul>
   </li>
